package cn.tips.dmp.system.assist.log.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 日志结果dto
 *
 */
@Data
public class SystemErrorLogResultDto {

    private String operTerminal;
    private String operClassify;
    private String operModule;
    private String operMethod;
    private String errorRequestURI;
    private String errorRequestIp;
    private String errorRequestParam;
    private String errorName;
    private String errorMessage;
    private Long userId;
    private String userName;
    private String orgRealName;
    private String platformRealName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private Date createTime = new Date();

}
